package com.service.admin.order.controller.rep;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * <dl>
 * <dt>back-end</dt>
 * <dd>Description:</dd>
 * <dd>Copyright: Copyright (C) 2015</dd>
 * <dd>Company: </dd>
 * <dd>CreateDate: 2019年11月14日</dd>
 * </dl>
 *
 * @author
 */
@Getter
@Setter
@ToString
public class OrderHrComboPageRep {

    private Integer id;
    /**
     * 订单号
     */
    private String hrOrderNo;
    /**
     * 购买者id
     */
    private Integer memberId;
    /**
     * 会员账号
     */
    private String memberAccount;
    /**
     * 套餐总数量
     */
    private Integer totalComboNum;
    /**
     * 总算力
     */
    private Integer totalHashRate;
    /**
     * 订单累计收益，单位USDT
     */
    private BigDecimal accumulatedIncome;
    /**
     * 购买总价
     */
    private BigDecimal orderMoney;
    /**
     * 实际支付金额
     */
    private BigDecimal payMoney;
    /**
     * 支付方式(1:usdt全付，2:usdt+usdf)
     */
    private Integer payType;
    /**
     * 订单状态  0未支付 1已支付 2已支付生效 3已完成(已发货) 4未支付过期订单(下单后30分钟内未支付)
     */
    private Integer orderStatus;
    /**
     * 付款时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date payTime;
    /**
     *
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    /**
     * 备注
     */
    private String remark;

    private Integer payTypeGroup;

    private BigDecimal totalPaddingHashRate;

    private List<OrderHrComboDetailsRep> detailsList;


}
